/**
 * @file   data.cpp
 * @author xingyifan <xingyifan@xingyifan-VirtualBox>
 * @date   Fri Oct 16 16:30:18 2020
 * 
 * @brief  to produce test data
 * 
 * 
 */

#include <iostream>
#include <cmath>
#include <cstdlib>

int main(int argc, char * argv[]) {
    int n = std::atoi(argv[1]);
    double val = 1.0;
    
    std::cout << n << std::endl;

    for (int i=0;i<n;i++) {
	std::cout << i << " ";
	std::cout << ceil((sin(i)+1)*10)+val  << std::endl;
	val += 0.1;
	if (val>1) {
	    val -= 1;
	}
    }

    return 0;
}
